package com.edu.springboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//启动类
//Spring boot项目,它是通过主函数来启动
@SpringBootApplication
//扫描com.edu.springboot.mapper 包,纳入spring 容器管理bean
@MapperScan("com.edu.springboot.mapper")
public class SpringbootApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootApplication.class, args);
    }

}
